@import "_global.scss";
body{
    background-color: #F2F2F2;
}
header{
    width: 100%;
    background-color: #F5F5F5;
}
.header{
    @extend %w;
    height: 35px;
    display: flex;
    justify-content: space-between;
    
    .left{
        width: 40%;
        display: flex;
        justify-content: space-between;

        &>.heardeleft{
            display: flex;
            justify-content: space-between;
            width: 80%;
            height: 35px;
            list-style: none;

            &>li{
                width: 20%;
                font-size: 12px;
                color: gray;
                line-height: 35px;
                text-align: center;
                &:hover{
                    color: orangered;
                }
            }
        }

        select{
            font-size: 12px;
            // margin-left: 3%;
            width: 15%;
            line-height: 35px;
            border: 0px;
            background-color: F5F5F5;
            outline: none;

            option{
                outline: none;
            }
        }
        &>.iconfont{
            margin-left: 15px;
            display: inline-block;
            line-height: 35px;
            color: orangered;
        }
    }

    .right{
        width: 50%;
        &>ul{
            display: flex;
            justify-content: space-between;
            &>a{
                text-decoration: none;
                font-size: 12px;
                &>li{
                    list-style: none;
                    line-height: 35px;
                    font-size: 12px;
                    color: gray;
                    &:hover{
                        color: orangered;
                    } 
                }

            }
            &>.show{
                width: 100px;
                display: flex;
                &>a>li{
                    line-height: 35px;
                }
                &>a:nth-child(2)>li{
                    color: orangered;
                    margin-left: 10px;
                }
                
            }
            &>.hide{
                width:200px;
                display: none;
                height: 35px;
                &>a{
                    float: left;
                    line-height: 35px;
                }
                &>a:nth-of-type(1){
                    color: orangered;
                    margin-right: 12px;
                }
            }
            &>a:nth-child(2)>li{
                color: orangered;
            }
            &>li{
                list-style: none;
                line-height: 35px;
                font-size: 12px;
                color: gray;
                &:hover{
                    color: orangered;
                }
            }
        }
    }
}



#nav{
    width: 100%;
    background-color: white
}
nav{
    @extend %w;
    height: 150px;
    display: flex;
    
    .navleft{
        width: 200px;
        height: 100px;
        overflow: hidden;

        &>img{
            margin-top: 25px;
            width: 100%;
            height: 100%;
        }
    }

    .navright{
        margin-left: 200px;
        width: 560px;
        height: 150px;
        // line-height: 150px;
        display: flex;
        align-items: center;
        align-content:center;
        flex-wrap: wrap;
        position: relative;
        
        

        input{
            width: 450px;
            height: 40px;
            border: 2px solid orangered;
            border-radius: 10px 0px 0px 10px;
            outline: none;
            text-indent: 10px;

        }
        .searchBtn{
            outline: none;
            width: 100px;
            height: 44px;
            border: 2px solid orangered;
            background-color: orangered;
            border-radius: 0px 10px 10px 0px;
            color: wheat;
            font-size: 20px;
            position: relative;
            top:2px;
            left: -5px;
        }
        

        .navlist{
            width: 700px;
            height: 30px;
            line-height: 20px;

            &>ul{
                display: flex;
                justify-content: space-around;

                &>li{
                    list-style: none;
                    font-size: 10px;
                    width: 70px;
                    text-align: center;
                }
            }
        }
    }
}

.wrap {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
    .wrapnav {
        width: 150px;
        height: 30px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 120px;
        margin: auto;
        border-radius: 30px;
        background-color: gray;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10000;
        &>li {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background-color: white;
            list-style: none;
        }

        &>.l1{
            background-color: blue;
        }
    }

    .contain{
        width: 1126px;
        height: 490px;
        position: absolute;
        top: 30px;
        left: 0px;
        right: 0px;
        margin: 0px auto;
        z-index: 999;
        display: flex;
        .bannerleft{
            width: 180px;
            height: 100%;
            &>.bannertop{
                width: 180px;
                height: 35px;
                margin-top: -35px;
                background-color: #FF8000;
                color: black;
                border-radius: 10px 10px 0px 0px;
                line-height: 35px;
                text-indent: 10px;
                font-size: 14px;
                color: white;
            }

            &>.bannerbuttom{
                background-color: white;
                &>ul>li{
                    width: 160px;
                    height: 50px;
                    list-style: none;
                    line-height: 30px;
                    margin-left: 20px;
                    &>img{
                        width: 20px;
                        height: 20px;
                        vertical-align: middle;
                    }
                    &>span{
                        display: inline-block;
                        line-height: 49px;
                        font-size: 12px;
                    }
                    &:hover{
                        span{
                            color: orangered;
                        }
                    }
                }
            }

    
        }

        .bannercenter{
            width: 65%;
            height: 115px;
            position: absolute;
            bottom: 0;
            left: 182px;
            display: flex;
            justify-content: space-between;
            &>a{
                width: 100%;
                &>img{
                    width: 180px;;
                    height: 100%;
                }
            }
         
        }
        .bannerright{
            width: 180px;
            height: 100%;
            margin-left: 65%;
            &>.righttop{
                width: 180px;
                height: 35px;
                margin-top: -35px;
                background-color: #4A4A48;
                border-radius: 10px 10px 0px 0px;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            &>.rightbuttom{
                width: 100%;
                height: 100%;
                background-color: white;
                overflow: hidden;
                
                &>.q1{
                    width:100%;
                    height: 50px;
                    margin-top: 20px;
                    display: flex;
                    justify-content: center;
                    &>img{
                        width: 50px;
                        height: 50px;
                        margin-top: -10px;
                    }
                    &>div{

                        width: 130px;
                        font-size: 12px;
                        a{
                            text-decoration: none;
                            color: black;
                            padding-right: 10px;
                            &:nth-child(1){
                                border-right: 1px solid gray;
                            }
                            &:nth-child(2){
                                padding-left: 10px;
                            }

                            &:hover{
                                color: orangered;
                            }
                            
                        }
                    }
                }
                &>button{
                    display: block;
                    width: 150px;
                    height: 30px;
                    margin-left: 15px;
                    margin-bottom: 10px;
                    border-radius: 10px;
                    border:0px;
                    color: white;
                }
                &>button:nth-of-type(1){
                    background-color: #FF8000;
                }
                &>button:nth-of-type(2){
                    background-color: #363876;
                    margin-bottom: 50px;
                }
                &>.q2{
                    width: 100%;
                    height: 70px;
                    display: flex;
                    margin-bottom:40px;
                    p{
                        width:33% ;
                        height: 100%;
                        text-align: center;

                        img{
                            width: 80%;
                            height: 50px;
                        }
                        a{
                            text-decoration: none;
                            color: black;
                            font-size: 14px;
                            &:hover{
                                color: orangered;
                            }
                        }
                    }

                }
                &>.q3{
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    flex: 1;
                    p{
                        width: 32%;
                        height: 33%;
                        text-align: center;
                        img{
                            width: 40px;
                            height: 40px;
                        }
                        a{
                            display: block;
                            text-decoration: none;
                            color: black;
                            font-size: 14px;
                            &:hover{
                                color: orangered;
                            }
                        }
                    }
                }
            }
        }

    }

}

.box {
    width: max-content;
    /* 父元素的宽度 由子元素撑开 */
    height: 490px;
    margin-top: 30px;
    position: relative;
    /* top: 300px; */
    overflow: hidden;

    
    
}
.box>a>img {
    width: 1519px;;
    height: 100%;
    /* display: none; */
    float: left;
}


.wrapleft,
.wrapright {
    width: 50px;
    height: 80px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    /* right: 0px; */
    /* background-color: rgba(0, 0, 0, 0.5); */
    z-index: 33;
    text-align: center;
    line-height: 80px;
    color: black;
    /* font-size: 100px; */
    z-index: 1000000;
}
.wrapleft {
    /* font-size: 50px; */
    left: 24.8%;
    border-radius: 0px 10px 10px 0px;
    span{
        margin-left: 20px;
    }
}

.wrapright {
    right: 27%;
    border-radius: 10px 0px 0px 10px;
    span{
        margin-left: -10px;
    }
}
.wrap .iconfont {
    font-size: 40px;
}
.wrap:hover .wrapright,
.wrap:hover .wrapleft {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}


.main{
    width: 100%;
    overflow: hidden;
    main{
        @extend %w;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        overflow: hidden;
        div{
            width: 49%;
            height: 320px;
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 10px;
            margin-top: 10px;

            &>p{
               width: 100%;
               height: 80px;
               line-height: 55px;
               margin-top: 10px;
               
               img{
                   width: 100px;
                   height: 50px;
                   margin-left: 20px;
               } 
            }
            &>div{
                width: 100%;
                height: 220px;
                display: flex;
                justify-content: space-between;
                li{
                    width: 33%;
                    height: 100%;
                    list-style: none;
                    a{
                        &>img{
                            width: 100%;
                            height: 140px;
                        }
                    }
                    p{
                        font-size: 14px;
                        white-space:nowrap;
                        overflow:hidden;
                        text-overflow:ellipsis;
                    }
                    &>p:nth-of-type(2){
                        color: red;
                        font-size: 18px;
                    }
                }
            }
        }
        .mainright{
            p:nth-of-type(1){
                &>span{
                    display: inline-block;
                    width: 100px;
                    height: 30px;
                    border: 2px solid orangered;
                    text-align: center;
                    line-height: 30px;
                    vertical-align: top;
                    margin-top: 10px;
                    margin-left: 30px;
                    border-radius: 10px;
                    color: red;
                }
            }
        }
        .mainleft1,.mainright1{
            &>p:nth-of-type(1){
                font-size: 26px;
                font-weight: 700;
                margin-left: 20px;
                &>span{
                    display: inline-block;
                    width: 100px;
                    height: 30px;
                    border: 2px solid orangered;
                    text-align: center;
                    line-height: 30px;
                    vertical-align: top;
                    margin-top: 10px;
                    margin-left: 30px;
                    border-radius: 10px;
                    color: red;
                    font-size: 14px;
                }
            }
            &>div{
                text-align: center;
                &>li>p{
                    font-size: 14px;
                    color: red;
                }
                &>li>p:nth-of-type(2){
                    font-size: 14px;
                    color: orangered;
                }
                button{
                    width: 100px;
                    height: 30px;
                    border-radius: 10px;
                    background-color: orangered;
                    border:0px;
                    color: white;
                }
            }
        }
        .mainright1{
            &>div{
                &>li>p{
                    font-size: 14px;
                    color: black;
                }
                &>li>p:nth-of-type(2){
                    margin-top: 10px;
                    font-size: 14px;
                    color: red;
                    img{
                        width: 15px;
                        height: 15px;
                    }
                }
            }
        }
    }
}

.square{
    width: 100%;

    &>.m1{
        width: 100%;
        height: 100px;
    }
    &>.contain{
        @extend %w;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        &>div{
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            li{
                list-style: none;
                width: 33%;
                height: 250px;
                background-color: white;
                border-radius: 10px;
                p{
                    &>span:nth-of-type(1){
                        font-size: 30px;
                        font-weight: 700;
                        // color: black;
                        margin-right: 10px;
                        margin-left: 10px;
                    }
                    &:hover{
                        color: orangered;
                    }
                }
                a{
                    display: inline-block;
                    width: 40%;
                    height: 190px;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }
}

.rem{
    width: 100%;

    &>.m1{
        width: 100%;
        height: 100px;
    }
    &>.contain{
        @extend %w;
    }
}


.ng-ser-box{
    width: 100%;

    &>.contain{
        @extend %w;
        height: 275px;

        &>.ng-ser-box-top{
            height: 100px;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid gray;
            &>p{
                width: 20%;
                line-height: 100px;
                display: flex;
                flex-wrap: wrap;
                img{
                    vertical-align: middle;
                    width: 60px;
                    height: 60px;
                }
                    span{
                        &>span:nth-of-type(1){
                            display: block;
                            line-height: 30px;
                            font-size: 16px;
                            color: black;
                            font-weight: 900;
                            &:hover{
                                color: orangered;
                            }
                        }   
                        &>span:nth-of-type(2){
                            display: block;
                            line-height: 30px;
                            font-size: 14px;
                            color: gray;
                        }   
                    }
            }
        }
        &>.ng-ser-box-buttom{
            width: 100%;
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            &>ul{
                width: 15%;
                &>li{
                    list-style: none;
                }
                &>li:nth-of-type(1){
                    font-size: 14px;
                    color: black;
                    font-weight: 900;
                }
                &>li:not(:nth-of-type(1)){
                    &:hover{

                        color: orangered;
                    }
                }
            }
        }

    }
}
